x86: consolidate boolean inputs in hvm and p2m into a shared bitmap
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Thu, 28 Aug 2014 14:02:01 +0000 (16:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Aug 2014 14:02:01 +0000 (16:02 +0200)
commit3d4d4f9336159f3f77a7b480ce9984fd3ff7949f
treea8dbf383b80b35db00a8c6461ea1f69aef9b5310
parentfa13f7b0c0f3d01741e35d573009503c3bf7b6a6
x86: consolidate boolean inputs in hvm and p2m into a shared bitmap

This patch consolidates the boolean input parameters of
hvm_hap_nested_page_fault and p2m_mem_access_check into a common bitmap
and defines the bitmap members accordingly.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/mm.h
xen/include/asm-x86/p2m.h